package com.xuyanze.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ：lzy
 * @date ：2021-10-25
 * @description：api文档配置
 */
public class ApiDocProperties {

    /**
     * 项目id
     * @return
     */
    private String projectId;

    /**
     * 模块id
     * @return
     */
    private String moduleId;

    /**
     * 开关: 0-关，1-开
     * @return
     */
    private int genSwitch;

    /**
     * 全局开关: 0-关，1-开
     * @return
     */
    private int globalPassSwitch;

    /**
     * userName
     */
    private String userName;

    /**
     * trueName
     */
    private String trueName;

    /**
     * 项目名
     */
    private String rootPath;

    /**
     * 正式环境域名
     */
    private String prodDomain;

    /**
     * 正式环境内网ip
     */
    private String prodIntranetIp;

    /**
     * 测试环境域名
     */
    private String testDomain;

    /**
     * 测试环境内网ip
     */
    private String testIntranetIp;


    /**
     * cookie
     */
    private String cookie="uuid=MTYzNDYzNDk0NjA1NmlGSXBwS2J5SDQ=; Hm_lvt_500545bbc75c658703f93ac984e1d0e6=1634634946; token=N0ZBMEZCOUU0MTYwODU1RUFDMzY1NjkyMkNFRDQwM0Y1MzM2QjY4RjNDQkM3ODMxMTk5MzBCNUY0OEY5MUU1NA==; cookieUserId=MTYzNDYzNzMyMDQ0ODA2MDAwMDAx; cookieUserName=MTU4NDk5MjE2N0BxcS5jb20=; cookiePassword=38C97069F11ABCD00F6014D6FA5C69BE; JSESSIONID=CAFC232D3A6CAA0DD8456105C2384216; Hm_lpvt_500545bbc75c658703f93ac984e1d0e6=1634818449";

    /**
     * api-host
     */
    // TODO 地址信息
    private String apiHost="http://";

    /**
     * 版本号
     */
    private String version;
    /**
     * ########################################################
     *              SaveOrUpdate
     * ########################################################
     */
     // TODO 地址信息
      private String addOrUpdateURL="http://";



    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 指定扫描package
     */
    private String scanPackage;

    public String getScanPackage() {
        return scanPackage;
    }

    public void setScanPackage(String scanPackage) {
        this.scanPackage = scanPackage;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public int getGenSwitch() {
        return genSwitch;
    }

    public void setGenSwitch(int genSwitch) {
        this.genSwitch = genSwitch;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getRootPath() {
        return rootPath;
    }

    public void setRootPath(String rootPath) {
        this.rootPath = rootPath;
    }

    public String getProdDomain() {
        return prodDomain;
    }

    public void setProdDomain(String prodDomain) {
        this.prodDomain = prodDomain;
    }

    public String getTestDomain() {
        return testDomain;
    }

    public void setTestDomain(String testDomain) {
        this.testDomain = testDomain;
    }

    public String getCookie() {
        return cookie;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    public String getApiHost() {
        return apiHost;
    }

    public void setApiHost(String apiHost) {
        this.apiHost = apiHost;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getAddOrUpdateURL() {
        return addOrUpdateURL;
    }

    public void setAddOrUpdateURL(String addOrUpdateURL) {
        this.addOrUpdateURL = addOrUpdateURL;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getProdIntranetIp() {
        return prodIntranetIp;
    }

    public void setProdIntranetIp(String prodIntranetIp) {
        this.prodIntranetIp = prodIntranetIp;
    }

    public String getTestIntranetIp() {
        return testIntranetIp;
    }

    public void setTestIntranetIp(String testIntranetIp) {
        this.testIntranetIp = testIntranetIp;
    }

    public int getGlobalPassSwitch() {
        return globalPassSwitch;
    }

    public void setGlobalPassSwitch(int globalPassSwitch) {
        this.globalPassSwitch = globalPassSwitch;
    }
}
